<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<div id="app">
            <!--绑定多个事件  -->
            <button type="button" v-on="{click:click,dblclick:dbclick}">
            绑定了多个事件</button>
		</div>
		<script src="https://cdn.bootcdn.net/ajax/libs/vue/2.6.12/vue.js"></script>
		<script type="text/javascript">
			var vm=new Vue({
				el:"#app",
				data:{
				   num:0,
				   msg:"abcdefg"
				},
				methods:{//
					click(){
						console.log("点击事件触发了");
					},
					dbclick(){
						console.log("双击");
					}					
				}
			})
		</script>
	</body>
</html>
